home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.7 KB | 118 lines | [TEXT/MPS ] |
- /*
- File: NumberFormatting.idl
-
- Version: Technology: 8.0
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __NUMBERFORMATTING_IDL__
- #define __NUMBERFORMATTING_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __CONDITIONALMACROS_IDL__
- #include <ConditionalMacros.idl>
- #endif
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #if FOR_SYSTEM8_PREEMPTIVE
- #ifndef __TEXTOBJECTS_IDL__
- #include <TextObjects.idl>
- #endif
- #ifndef __TEXTCOMMON_IDL__
- #include <TextCommon.idl>
- #endif
- #ifndef __LOCALEOBJECTS_IDL__
- #include <LocaleObjects.idl>
- #endif
- #ifndef __TEXTPARSER_IDL__
- #include <TextParser.idl>
- #endif
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- #ifndef __INTLRESOURCES_IDL__
- #include <IntlResources.idl>
- #endif
- #endif
-
- #ifdef __SOMIDL__
-
- /*
-
- Here are the current System 7 routine names and the translations to the older forms.
- Please use the newer forms in all new code and migrate the older names out of existing
- code as maintainance permits.
-
- New Name Old Name(s)
-
- ExtendedToString FormatX2Str
- FormatRecToString Format2Str
- NumToString
- StringToExtended FormatStr2X
- StringToFormatRec Str2Format
- StringToNum
-
- */
- #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
- typedef SOMLargeStruct NumFormatString; /* Derived from a struct of 256 bytes in size */
-
- typedef NumFormatString NumFormatStringRec;
-
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- typedef short FormatStatus;
-
- typedef SInt8 FormatClass;
-
- typedef SInt8 FormatResultType;
-
- typedef SOMFourByteStruct FVector; /* Derived from a struct of 4 bytes in size */
-
- /* index by [fPositive..fZero] */
- typedef OpaquePtr TripleInt; /* Substituted OpaquePtr for array of FVector of size 3 */
-
- #if CGLUESUPPORTED
- #endif
- /* CGLUESUPPORTED*/
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- #endif
- #if OLDROUTINENAMES
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- #endif
- /* FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED*/
- #endif
- /* OLDROUTINENAMES*/
- #if FOR_SYSTEM8_PREEMPTIVE
- typedef LocaleObjectRef LocaleNumberFormatterObjectRef;
-
- typedef OptionBits NumberFormatterOptionBits;
-
- typedef UInt32 NumberFormatterTokenID;
-
- typedef SOMLargeStruct FIndexVector; /* Derived from a struct of 8 bytes in size */
-
- /* index by [fPositive..fZero] */
- typedef OpaquePtr TripleIndex; /* Substituted OpaquePtr for array of FIndexVector of size 3 */
-
- typedef UInt32 CurrencyPosition;
-
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __NUMBERFORMATTING_IDL__ */
-
-